
<template>
<div>
    <el-row :gutter="20">
        <el-col :span="6"><div class="grid-content" style="background-color:#ffb174">品类数量：10</div></el-col>
        <el-col :span="6"><div class="grid-content" style="background-color:#ee5a5a">产品数量：20</div></el-col>
        <el-col :span="6"><div class="grid-content" style="background-color:#b31e6f">房间数：50</div></el-col>
    </el-row>
    <el-row :gutter="20">
        <el-col :span="6"><div class="grid-content" style="background-color:#ffb174">设备总数：100</div></el-col>
        <el-col :span="6"><div class="grid-content" style="background-color:#ee5a5a">在线数量：90</div></el-col>
        <el-col :span="6"><div class="grid-content" style="background-color:#b31e6f">离线数量：10</div></el-col>
        <el-col :span="6"><div class="grid-content" style="background-color:#22eaaa">用户数：20</div></el-col>
    </el-row>
</div>
</template>

<style scoped>
  .el-row {
    margin-bottom: 20px;
    &:last-child {
      margin-bottom: 0;
    }
  }
  .el-col {
    border-radius: 4px;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 100px;
    color: #FFF;
    font-size: 30px;
    font-weight: bold;
    padding: 20px 20px;
    line-height: 100px;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #f9fafc;
  }
</style>